package com.car.domain;

import java.io.Serializable;

/**
 * 汽车中间表(UserCar)实体类
 *
 * @author makejava
 * @since 2024-05-17 09:20:04
 */
public class UserCar implements Serializable {
    private static final long serialVersionUID = -85875481148806868L;
    /**
     * 主键id
     */
    private Integer id;
    /**
     * 用户id
     */
    private Integer userId;
    /**
     * 汽车id
     */
    private Integer carId;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getCarId() {
        return carId;
    }

    public void setCarId(Integer carId) {
        this.carId = carId;
    }

    @Override
    public String toString() {
        return "UserCar{" +
                "id=" + id +
                ", userId=" + userId +
                ", carId=" + carId +
                '}';
    }
}

